﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace QuantumQuest
{
    public partial class QQTestLevel : QQLevel
    {
        public QQTestLevel()
        {
            InitializeComponent();
            InitializeLevel();
            InitializeTestLevel();

        }
        new public void Step()
        {

        }
        public void InitializeTestLevel()
        {
            _bodies = new QQList(3);

            _bodies.Add(new QQPlanet(2, new QQVector2((double)Canvas.GetLeft(this)/2, (double)Canvas.GetTop(this)/2)));
            _bodies.Add(new QQPlanet(5, new QQVector2((double)Canvas.GetLeft(this) / 3, (double)Canvas.GetTop(this) / 3)));
            _bodies.Add(new QQPlanet(8, new QQVector2((double)Canvas.GetLeft(this) / 4, (double)Canvas.GetTop(this) / 4)));

            for (int i = 0; i < _bodies.Count; i++)
            {
                LevelCanvas.Children.Add((UIElement)_bodies[i]);
            }
        }

    }
}
